<include file="Public/head"/>
<body class="no-skin">

<div class="main-container" id="main-container">


    <div class="main-content">
        <div class="main-content-inner">
            <!-- #section:basics/content.breadcrumbs -->


            <!-- /section:basics/content.breadcrumbs -->
            <div class="page-content">


                <!-- /section:settings.box -->
                <div class="row">
                    <div class="col-xs-12">
                        <!-- PAGE CONTENT BEGINS -->
                        <form class="form-horizontal" action="{:U('edit')}" method="post">
                            <input type="hidden" name="id" class="col-xs-10 col-sm-5" value="{$account.id}">

                            <div class="form-group">
                                <label class="col-sm-1 control-label no-padding-right" for="form-field-6"> 账号信息 </label>
                                <div class="col-sm-9">
                                    <input name="account" type="text"
                                           class="col-xs-10 col-sm-5" value="{$account.account}">
                                    <span class="help-inline col-xs-12 col-sm-7">
												<span class="middle"></span>
											</span>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-1 control-label no-padding-right" for="form-field-6">
                                    当天使用次数 </label>
                                <div class="col-sm-9">
                                    <input name="count" type="text"
                                           class="col-xs-10 col-sm-5" value="{$account.count}">
                                    <span class="help-inline col-xs-12 col-sm-7">
												<span class="middle"></span>
											</span>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-1 control-label no-padding-right" for="form-field-6">
                                    备注 </label>
                                <div class="col-sm-9">
                                    <input name="remark" type="text"
                                           class="col-xs-10 col-sm-5" value="  {$account.remark}">
                                    <span class="help-inline col-xs-12 col-sm-7">
												<span class="middle"></span>
											</span>
                                </div>
                            </div>


                            <div class="space-4"></div>
                            <div class="form-group">
                                <label class="col-sm-1 control-label no-padding-right" for="form-field-4"> 状态 </label>
                                <div class="col-sm-9">
                                    <select name="status" class="multiselect">

                                        <option
                                        <if condition="$account[status] eq 1">selected</if>
                                        value="1" >正常</option>
                                        <option
                                        <if condition="$account[status] eq 2">selected</if>
                                        value="2" >使用中</option>

                                    </select>
                                </div>
                            </div>


                            <div class="col-md-offset-2 col-md-9">
                                <button class="btn btn-info" type="submit">
                                    <i class="icon-ok bigger-110"></i>
                                    更新
                                </button>

                            </div>
                        </form>
                        <!-- PAGE CONTENT ENDS -->
                    </div><!-- /.col -->
                </div><!-- /.row -->
            </div><!-- /.page-content -->
        </div>
    </div><!-- /.main-content -->


</div><!-- /.main-container -->

<include file="Public/footerjs"/>
<!-- inline scripts related to this page -->
<script src="__PUBLIC__/qwadmin/js/date-time/bootstrap-datepicker.js"></script>
<script src="__PUBLIC__/qwadmin/js/function.js"></script>
<script type="text/javascript">
    jQuery(function ($) {
        $('#birthday').datepicker({
            format: 'yyyy-mm-dd',
            weekStart: 1,
            autoclose: true,
            todayBtn: 'linked',
            language: 'cn'
        });
    });
</script>
</body>
</html>
